﻿<%@ Control Language="VB" AutoEventWireup="false" CodeFile="SearchStaff.ascx.vb"
    Inherits="WebForm_ManageStaff_SearchStaff" %>
<div style="background-color: #351D26">
<FIELDSET ID="FIELDSET1" style="border-color:#4E333B" runat="server">
<LEGEND class="white2">
    <asp:Literal ID="Literal1" runat="server" Text="<%$ Resources:StaffSearch.GroupingText%>" />
</LEGEND>
<table width="100%">
    <tr>
        <td colspan="2" align="right">
            <asp:LinkButton ID="lknAdd" runat="server" meta:resourcekey="lknAdd"></asp:LinkButton>
            <br />
        </td>
    </tr>
    <tr>
        <td align="right" width="11%">
            <asp:Label ID="lblEmployeeID" runat="server" meta:resourcekey="lblEmployeeID"></asp:Label>
        </td>
        <td align="left">
            <asp:TextBox ID="txtEmployeeID" runat="server"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td align="right">
            <asp:Label ID="lblEmployeeName" runat="server" meta:resourcekey="lblEmployeeName"></asp:Label>
        </td>
        <td align="left">
            <asp:TextBox ID="txtEmployeeName" runat="server"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td align="right">
            <asp:Label ID="lblTitle" runat="server" meta:resourcekey="lblTitle"></asp:Label>
        </td>
        <td align="left">
            <asp:TextBox ID="txtTitle" runat="server"></asp:TextBox>
        </td>
    </tr>
        <tr>
        <td align="right">
            <asp:Label ID="lblOrganization" runat="server" meta:resourcekey="lblOrganization"></asp:Label>
        </td>
        <td align="left">
            <asp:DropDownList ID="ddlOrganization" runat="server"></asp:DropDownList>
        </td>
    </tr>
    <tr>
        <td align="right">
        </td>
        <td align="left">
            <asp:Button ID="btnSelect" runat="server" meta:resourcekey="btnSelect" />
        </td>
    </tr>
</table>
</FIELDSET>
<br />
<FIELDSET ID="FIELDSET2" style="border-color:#4E333B" runat="server">
<LEGEND class="white2">
    <asp:Literal ID="Literal2" runat="server" Text="<%$ Resources:StaffList.GroupingText%>" />
</LEGEND>
<table width="100%">
    <tr>
        <td colspan="2">
            <My:MyGridView ID="gv" runat="server" SkinID="pager" meta:resourcekey="gv" AllowPaging="True"
                AllowHoverSelect="False" DataKeyNames="EmployeeID" AllowHoverEffect="True" MySortDirection="Ascending"
                AutoGenerateColumns="False">
                <Columns>
                    <asp:BoundField DataField="EmployeeID" meta:resourcekey="bfEmployeeID" />
                    <asp:BoundField DataField="EmployeeName" meta:resourcekey="bfEmployeeName" />
                    <asp:BoundField DataField="OrganizationName" meta:resourcekey="bfOrganizationText" />
                    <asp:BoundField DataField="Title" meta:resourcekey="bfTitle" />
                    <asp:BoundField DataField="Email" meta:resourcekey="bfEmail" />
                    <asp:TemplateField>
                        <itemtemplate>
                        <asp:LinkButton id="lknEdit" SkinID="infor" meta:resourcekey="lknEdit" runat="server" CommandName="Editing" CommandArgument='<%# Bind("EmployeeID") %>'></asp:LinkButton> 
                         <asp:LinkButton id="lknDelete" SkinID="infor" meta:resourcekey="lknDelete" runat="server" CommandName="Deleting" CommandArgument='<%# Bind("EmployeeID") %>'></asp:LinkButton> 
                        <ajaxToolkit:ConfirmButtonExtender id="cbDelete" meta:resourcekey="cbDelete" runat="server" TargetControlID="lknDelete">
                        </ajaxToolkit:ConfirmButtonExtender> 
                    </itemtemplate>
                    </asp:TemplateField>
                                       
                </Columns>
            </My:MyGridView>
        </td>
    </tr>
</table>
</FIELDSET>
</div>

